package com.test.test03;

public class test {
    public static void main(String[] args) {
        animal a = new cat();

        cat c = (cat) a;
        c.eat();
        animal an = c;
        an.eat();

    }
}
